package com.bootdo.item.dao;

import com.bootdo.item.domain.ItemDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 商品表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-02-02 17:38:33
 */
@Mapper
public interface ItemDao {

	ItemDO get(Long id);
	
	List<ItemDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ItemDO item);
	
	int update(ItemDO item);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
